Bentley Map V8i (SELECTseries 10) Help

SPRINT

Syntax: SPRINT string_variable { variable[format] | “string” } [{ variable[format] | “string” } ]...

The SPRINT command is very similar to the PRINT command, but instead of printing to a file, it saves the text output in a string variable. Please refer to the description of the PRINT command for a more detailed description.

Example: SPRINT mystring “Dimension: “ pipe.dimension “ inches”

If the pipe has a dimension of 10 inches, the variable “mystring” contains the following text: “Dimension: 100 inches.”